package org.csu.mypetstore.service;


import jakarta.servlet.http.HttpSession;
import org.csu.mypetstore.domain.Account;
import org.springframework.ui.Model;


public interface AccountService {

    public boolean login(String username, String password);
    public Account getAccount(String username,HttpSession session);
    public void ModeladdAttribute(Model model, Account account);
    public Account getAccount(String username, String password);


    public void insertAccount(Account account);
    public void InsertAccount(Account account);
    public void updateAccount(Account account);
    public void insertSignon(String username, String password);
    public void deleteAccount(String username);

}
